// 包装组件
import { extractModel } from '@/utils/tools'

export default {
    name: 'c-i-switch',
    functional: true,

    render (h, context){
        let {value, callback, conf} = extractModel(context);        

        let {

            size,
            disabled,
            
        } = conf;
        

        return (

            <i-switch size={size} disabled={disabled} value={value} onChange={callback} onInput={callback} ></i-switch>
            
        )

    }

}